<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript">
        var a = 12;
        var b = "12";
        alert(a==b);
        // ture，==只对比数面上的值
        alert(a===b);
        // flase，===对比数面上的值，且对比数据类型
    </script>
</head>

<body>
    
</body>
</html>